<?php
namespace app\serverfund\validate;
use \app\manage\validate\BaseValidate;
/**
 * 资金借款日志的验证类
 * @author adv30 <adv30@126.com> 2017年6月22日9:46:39
 */
class FundBorrowLog extends BaseValidate
{

    protected $rule = [
        'user_ids' => ['length'=>'1,256'],
        'user_id' => ['integer', 'gt' => '0'],
        'refund_status' => ['in' => ['0','1',0,1]]
    ];
    protected $message = [];
    protected $scene = [
        'list' => ['page', 'list_rows'],
        'listByUserIds' => ['page', 'list_rows', 'user_ids'],
        'listByUserType' => ['page', 'list_rows', 'user_id', 'refund_status'],
    ];
}
